package com.tentact.coolmeetingtest.dto;

import com.tentact.coolmeetingtest.vo.Dept;
import com.tentact.coolmeetingtest.vo.Emp;

import java.util.List;

/**
 * @author 星环
 * @date 2023/2/5 21:38:20
 * @description
 */
public class DeptWithEmpList {
    private Dept dept;
    private List<Emp> empList;

    public DeptWithEmpList() {
    }

    public DeptWithEmpList(Dept dept, List<Emp> empList) {
        this.dept = dept;
        this.empList = empList;
    }

    @Override
    public String toString() {
        return "DeptWithEmpList{" +
                "dept=" + dept +
                ", empList=" + empList +
                '}';
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public List<Emp> getEmpList() {
        return empList;
    }

    public void setEmpList(List<Emp> empList) {
        this.empList = empList;
    }
}
